IF EXISTS (SELECT * FROM sysobjects WHERE type = 'V' AND name = 'VW_InvoiceItemFetch')
	BEGIN
		DROP  View VW_InvoiceItemFetch
	END
GO

CREATE View VW_InvoiceItemFetch AS

SELECT InvoiceItemId, InvoiceId, Details, Quantity, UnitTypeFlag, Rate FROM InvoiceItems

GO